package com.love.marriage.personalImageryInfo.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.love.marriage.common.vo.BaseVo;
import com.love.marriage.config.Long2StringSerializer;
import com.love.marriage.oss.vo.FileInfoVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  个人形象表Vo
 * author:       mybatisPlus
 * createDate:   2024-10-13 22:54:18
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "PersonalImageryInfoVo", description = "个人形象表Vo")
public class PersonalImageryInfoVo extends BaseVo<PersonalImageryInfoVo>{

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "用户ID", type = "Long", implementation = Long.class)
    private Long userId;

    @JsonSerialize(using = Long2StringSerializer.class)
    @Schema(description = "文件ID", type = "Long", implementation = Long.class)
    private Long fileId;

    @Schema(description = "位置编号，用数字表示", type = "Integer", implementation = Integer.class)
    private Integer position;

    @Schema(description = "描述或备注", type = "String", implementation = String.class)
    private String description;

    @Schema(description = "文件信息", implementation = FileInfoVo.class)
    private FileInfoVo fileInfoVo;
}
